package com.firstgroup.service.Impl;

import com.firstgroup.Utils.ResponseResult;
import com.firstgroup.domain.OperationRecord;
import com.firstgroup.repository.InterviewersRepository;
import com.firstgroup.repository.OperationRecordRepository;
import com.firstgroup.service.OperationRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OperationRecordServiceImpl implements OperationRecordService {
    @Autowired
    OperationRecordRepository operationRecordRepository;
    @Autowired
    InterviewersRepository interviewersRepository;

    @Override
    public List<OperationRecord> findOperationRecord(String studentId) {
      List<OperationRecord> operationRecords=  operationRecordRepository.findOperationRecordByStudentId(studentId);

    return  operationRecords;
    }
}
